package com.itheima.controller;

import com.itheima.domain.User;
import com.itheima.service.UserService;
import com.itheima.service.impl.UserServiceImpl;

import java.util.List;

public class Test {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();

        List<User> users = userService.selectLike("张");

        for (User user : users) {
            System.out.println(user);
        }

    }
}
